package com.authority.tree;

import java.util.Comparator;


/** 
 * 节点比较器 
 */  
public class NodeOrderComparator implements Comparator<Node> {  

	@Override
	public int compare(Node o1, Node o2) {
		return o1.getOrder() - o2.getOrder();
	}  
}  